// @ts-ignore
/* eslint-disable */
import request from "../request/request";

/** addBuildingType POST /api/buildingType/add */
export async function addBuildingTypeUsingPost(body, options) {
  return request("/api/buildingType/add", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** deleteBuildingType POST /api/buildingType/delete */
export async function deleteBuildingTypeUsingPost(body, options) {
  return request("/api/buildingType/delete", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** editBuildingType POST /api/buildingType/edit */
export async function editBuildingTypeUsingPost(body, options) {
  return request("/api/buildingType/edit", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** getBuildingTypeVOById GET /api/buildingType/get/vo */
export async function getBuildingTypeVoByIdUsingGet(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params,
  options
) {
  return request("/api/buildingType/get/vo", {
    method: "GET",
    params: {
      ...params,
    },
    ...(options || {}),
  });
}

/** listBuildingTypeByPage POST /api/buildingType/list/page */
export async function listBuildingTypeByPageUsingPost(body, options) {
  return request("/api/buildingType/list/page", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** listBuildingTypeVOByPage POST /api/buildingType/list/page/vo */
export async function listBuildingTypeVoByPageUsingPost(body, options) {
  return request("/api/buildingType/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** listMyBuildingTypeVOByPage POST /api/buildingType/my/list/page/vo */
export async function listMyBuildingTypeVoByPageUsingPost(body, options) {
  return request("/api/buildingType/my/list/page/vo", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}

/** updateBuildingType POST /api/buildingType/update */
export async function updateBuildingTypeUsingPost(body, options) {
  return request("/api/buildingType/update", {
    method: "POST",
    headers: {
      "Content-Type": "application/json",
    },
    data: body,
    ...(options || {}),
  });
}
